package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;
import org.apache.dubbo.config.annotation.Service;

import java.util.List;
import java.util.Map;


public interface SetmealService {
    void add(Setmeal setmeal,Integer[] checkgroupIds);

    PageResult findPage(QueryPageBean queryPageBean);


    List<Setmeal> getAllSetmeal();

    Setmeal findById(Integer id);

    List<Map<String, Object>> findSetmealCount();

    List<Integer> findCheckGroupIdsBySetmealId(Integer id);

    void edit(Setmeal setmeal, Integer[] checkgroupIds);

    void delete(Integer id);

    List<Setmeal> findAll();
}
